package com.sdk.bigdata.constant;

public class Constants {
    // 事件类型列表
    public static final String TYPE_ACTION = "action";
    public static final String TYPE_DEVICE = "device";
    public static final String TYPE_PROFILE_CREATE = "profile_create";
    public static final String TYPE_PROFILE_SET = "profile_set";
    public static final String TYPE_PROFILE_REALNAME = "profile_realname";
    public static final String TYPE_PROFILE_DELETE = "profile_delete";
    public static final String TYPE_ITEM_SET = "item_set";
    public static final String TYPE_ITEM_DELETE = "item_delete";
    public static final String TYPE_BUNDLE_SET = "bundle_set";
    public static final String TYPE_BUNDLE_DELETE = "bundle_delete";
    public static final String TYPE_ENTITY = "entity";

    // 注册/登录/支付
    public static final String EVENT_VISITOR_TO_REG = "$visitor2reg";
    public static final String EVENT_LOGIN = "$login";
    public static final String EVENT_LOGOUT = "$logout";
    public static final String EVENT_ORDER = "$order";
    public static final String EVENT_REGISTER = "$register";
    public static final String EVENT_REALNAME = "$realname";
    public static final String EVENT_PROFILE_DELETE = "$profile_delete";


    // 广告渠道
    public static final String EVENT_AD_VIEW = "$ad_view";
    public static final String EVENT_AD_CLICK = "$ad_click";
    public static final String EVENT_DOWNLOAD_PAGE_CLICK = "$download_page_click";
    public static final String EVENT_DEVICE_INSTALL = "$device_install";
    public static final String EVENT_DEVICE_UNINSTALL = "$device_uninstall";
    public static final String EVENT_DEVICE_ACTIVATION = "$device_activation";


    // item/bundle点击相关,用于付费推荐
    public static final String EVENT_ITEM_CLICK = "$item_click";
    public static final String EVENT_ITEM_ORDER = "$item_order";
    public static final String EVENT_ITEM_PAY = "$item_pay";
    public static final String EVENT_ITEM_CONSUME = "$item_consume";
    public static final String EVENT_BUNDLE_CLICK = "$bundle_click";
    public static final String EVENT_BUNDLE_ORDER = "$bundle_order";
    public static final String EVENT_BUNDLE_PAY = "$bundle_pay";

    // 日志打印相关
    public static final String DEBUG = "DEBUG";
    public static final String INFO = "INFO";
    public static final String WARN = "WARN";
    public static final String ERROR = "ERROR";

    public static final Integer DEBUG_LEVEL = 1;
    public static final Integer INFO_LEVEL = 2;
    public static final Integer WARN_LEVEL = 3;
    public static final Integer ERROR_LEVEL = 4;
}
